<h1>LIST SỰ KIỆN</h1>
<table>
    <tr>
        <th>Tiêu Đề</th>
        <th>Category</th>
        <th>Ngày Đăng</th>
        <th>&nbsp;</th>
        <th>&nbsp;</th>
        <th>&nbsp;</th>
    </tr>

    <!-- Here is where we loop through our $posts array, printing out post info -->

    <?php foreach ($sukiens as $sukien): ?>
        <tr>
            <td><?php echo $sukien['Sukien']['tieude']; ?></td>
            <td><?php echo $sukien['Sukien']['category']; ?></td>
            <td><?php echo $sukien['Sukien']['ngaydang']; ?></td>
            <td><?php echo $this->Html->link('Xem', array('controller' =>'sukiens','action'=>'view/'.$sukien['Sukien']['id']));?></td>
            <td><?php echo $this->Html->link('Sửa',array('controller'=>'sukiens','action'=>'edit/'.$sukien['Sukien']['id']));?></td>
            <td><?php echo $this->Html->link('Xóa', array('controller' =>'sukiens','action'=>'delete/'.$sukien['Sukien']['id']));?></td>
        </tr>
    <?php endforeach; ?>
   <br><div> <?php echo $this->Html->link('THÊM SỰ KIỆN', array('controller' =>'sukiens','action'=>'add'));?></div></br>
    <?php unset($sukien); ?>
</table>
